package com.ruoyi.vote.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.mall.domain.OrderInfo;
import com.ruoyi.vote.admin.domain.VoteCertificateReceive;
import com.ruoyi.vote.admin.domain.bo.VoteExamineBo;
import com.ruoyi.vote.admin.domain.vo.VoteCertificateReceiveVo;
import com.ruoyi.vote.admin.domain.bo.VoteCertificateReceiveBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 证书申请Service接口
 *
 * @author 筑巢
 * @date 2023-07-17
 */
public interface IVoteCertificateReceiveService extends IService<VoteCertificateReceive> {

    /**
     * 查询活动 - 证书申请
     */
    VoteCertificateReceiveVo queryById(Long id);

    /**
     * 查询活动 - 证书申请列表
     */
    TableDataInfo<VoteCertificateReceiveVo> queryPageList(VoteCertificateReceiveBo bo, PageQuery pageQuery);

    /**
     * 查询活动 - 证书申请列表
     */
    List<VoteCertificateReceiveVo> queryList(VoteCertificateReceiveBo bo);

    /**
     * 新增活动 - 证书申请
     */
    Boolean insertByBo(VoteCertificateReceiveBo bo);

    /**
     * 修改活动 - 证书申请
     */
    Boolean updateByBo(VoteCertificateReceiveBo bo);

    /**
     * 校验并批量删除活动 - 证书申请信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
